package com.weiyuwqj.app.mobile.version;

import com.weiyuwqj.api.service.MobileVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhangyong on 2016/12/8.
 * 版本管理
 */
@Controller
public class MobileVersionController {

    @Autowired
    private MobileVersionService mobileVersionService;

    @ResponseBody
    @RequestMapping("/mobile/version")
    public Object version(){
        return mobileVersionService.getMobileVersion();
    }
}
